package com.yellow.analyticsservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: hy
 * @create: 2024-04-23
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("metrics")
public class Metrics {

    @TableId(value = "metric_id",type = IdType.AUTO)
    private Integer metricId;

    @TableField(value = "metric_name")
    private String metricName;

    @TableField(value = "metric_description")
    private String metricDescription;
}
